package com.site.service;

import com.night.common.entity.logistical.Area;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * @ClassName: AreaService
 * @author: LJC
 * @date: 2022/10/20-10:42
 */
public interface AreaService {
    //获取所有场地信息
    List<Area> getAll();

    //增加场地信息
    void addArea(Area area);

    //修改
    void updateArea(Area area);

    //逻辑删除
    void delAreaById(Area area);

    //根据id查询场地信息
    Area getAreaById(Area area);

    //根据场地类型查找
    List<Map<String, String>> getAreaByareaType(Area area);
}
